<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: Json Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('namespace_json.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Json Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>JSON (JavaScript Object Notation).  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_batch_allocator.html">BatchAllocator</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_fast_writer.html">FastWriter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outputs a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format without formatting (not human friendly).  <a href="class_json_1_1_fast_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_features.html">Features</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration passed to reader and writer. This configuration object can be used to force the <a class="el" href="class_json_1_1_reader.html" title="Unserialize a JSON document into a Value. ">Reader</a> or <a class="el" href="class_json_1_1_writer.html" title="Abstract class for writers. ">Writer</a> to behave in a standard conforming way.  <a href="class_json_1_1_features.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_path.html">Path</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Experimental and untested: represents a "path" to access a node.  <a href="class_json_1_1_path.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_path_argument.html">PathArgument</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Experimental and untested: represents an element of the "path" to access a node.  <a href="class_json_1_1_path_argument.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_reader.html">Reader</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unserialize a <a href="http://www.json.org">JSON</a> document into a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a>.  <a href="class_json_1_1_reader.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_static_string.html">StaticString</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lightweight wrapper to tag static string.  <a href="class_json_1_1_static_string.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_stream_writer.html">StyledStreamWriter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format in a human friendly way, to a stream rather than to a string.  <a href="class_json_1_1_styled_stream_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_writer.html">StyledWriter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format in a human friendly way.  <a href="class_json_1_1_styled_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value.html">Value</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents a <a href="http://www.json.org">JSON</a> value.  <a href="class_json_1_1_value.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_array_allocator.html">ValueArrayAllocator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Experimental: do not use. Allocator to customize <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> internal array. Below is an example of a simple implementation (actual implementation use memory pool).  <a href="class_json_1_1_value_array_allocator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_const_iterator.html">ValueConstIterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">const iterator for object and array value.  <a href="class_json_1_1_value_const_iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_internal_array.html">ValueInternalArray</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A simplified deque implementation used internally by <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a>.  <a href="class_json_1_1_value_internal_array.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_internal_link.html">ValueInternalLink</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_json_1_1_value_internal_map.html" title="A linked page based hash-table implementation used internally by Value. ">ValueInternalMap</a> hash-map bucket chain link (for internal use only).  <a href="class_json_1_1_value_internal_link.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_internal_map.html">ValueInternalMap</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A linked page based hash-table implementation used internally by <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a>.  <a href="class_json_1_1_value_internal_map.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_iterator.html">ValueIterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator for object and array value.  <a href="class_json_1_1_value_iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_iterator_base.html">ValueIteratorBase</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">base class for <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> iterators.  <a href="class_json_1_1_value_iterator_base.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_value_map_allocator.html">ValueMapAllocator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocator to customize <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> internal map. Below is an example of a simple implementation (default implementation actually use memory pool for speed).  <a href="class_json_1_1_value_map_allocator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_writer.html">Writer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstract class for writers.  <a href="class_json_1_1_writer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a08122e8005b706d982e48cca1e2119c7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08122e8005b706d982e48cca1e2119c7"></a>
typedef int&#160;</td><td class="memItemRight" valign="bottom"><b>Int</b></td></tr>
<tr class="separator:a08122e8005b706d982e48cca1e2119c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800fb90eb6ee8d5d62b600c06f87f7d4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a800fb90eb6ee8d5d62b600c06f87f7d4"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>UInt</b></td></tr>
<tr class="separator:a800fb90eb6ee8d5d62b600c06f87f7d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218d880af853ce786cd985e82571d297"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a218d880af853ce786cd985e82571d297"></a>
typedef int&#160;</td><td class="memItemRight" valign="bottom"><b>LargestInt</b></td></tr>
<tr class="separator:a218d880af853ce786cd985e82571d297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae202ecad69725e23443f465e257456d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae202ecad69725e23443f465e257456d0"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>LargestUInt</b></td></tr>
<tr class="separator:ae202ecad69725e23443f465e257456d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7b47d2905da3b4ae60e4e800ec9ae5f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7b47d2905da3b4ae60e4e800ec9ae5f"></a>
typedef __int64&#160;</td><td class="memItemRight" valign="bottom"><b>Int64</b></td></tr>
<tr class="separator:ab7b47d2905da3b4ae60e4e800ec9ae5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01f20bce8f8229f38ff890168c0e6452"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01f20bce8f8229f38ff890168c0e6452"></a>
typedef unsigned __int64&#160;</td><td class="memItemRight" valign="bottom"><b>UInt64</b></td></tr>
<tr class="separator:a01f20bce8f8229f38ff890168c0e6452"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8048e741f2177c3b5d9ede4a5b8c53c2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8048e741f2177c3b5d9ede4a5b8c53c2"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>ArrayIndex</b></td></tr>
<tr class="separator:a8048e741f2177c3b5d9ede4a5b8c53c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a602bcf69c2042fb61c3b243cb16f04ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a602bcf69c2042fb61c3b243cb16f04ca"></a>
typedef char&#160;</td><td class="memItemRight" valign="bottom"><b>UIntToStringBuffer</b>[<a class="el" href="namespace_json.html#a7844aaf4ed07c9fff86f78628f958fe0ae4f2008c7919f20d81286121d1374424">uintToStringBufferSize</a>]</td></tr>
<tr class="separator:a602bcf69c2042fb61c3b243cb16f04ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a7d654b75c16a57007925868e38212b4e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4e">ValueType</a> { <br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4ea7d9899633b4409bd3fc107e6737f8391">nullValue</a> = 0, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eae5a9d708d5c9e23ae9bf98898522512d">intValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eaea788d9a3bb00adc6d68d97d43e1ccd3">uintValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eab837c7b869c14d8be712deb45c9e490e">realValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4ea804ef857affea2d415843c73f261c258">stringValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4ea14c30dbf4da86f7b809be299f671f7fd">booleanValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eadc8f264f36b55b063c78126b335415f4">arrayValue</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">objectValue</a>
<br />
 }<tr class="memdesc:a7d654b75c16a57007925868e38212b4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of the value held by a Value object.  <a href="namespace_json.html#a7d654b75c16a57007925868e38212b4e">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a7d654b75c16a57007925868e38212b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fc417c23905b2ae9e2c47d197a45351"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351">CommentPlacement</a> { <br />
&#160;&#160;<a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351a52f1733775460517b2ea6bedf4906d52">commentBefore</a> = 0, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351a008a230a0586de54f30b76afe70fdcfa">commentAfterOnSameLine</a>, 
<br />
&#160;&#160;<a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351ac5784ca53b12250888ddb642b06aebef">commentAfter</a>, 
<br />
&#160;&#160;<b>numberOfCommentPlacement</b>
<br />
 }</td></tr>
<tr class="separator:a4fc417c23905b2ae9e2c47d197a45351"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7844aaf4ed07c9fff86f78628f958fe0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="namespace_json.html#a7844aaf4ed07c9fff86f78628f958fe0ae4f2008c7919f20d81286121d1374424">uintToStringBufferSize</a> = 3 * sizeof(LargestUInt) + 1
 }</td></tr>
<tr class="separator:a7844aaf4ed07c9fff86f78628f958fe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4d245ef719cc0853e8e78eb5f99c16e5"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a4d245ef719cc0853e8e78eb5f99c16e5">operator&gt;&gt;</a> (std::istream &amp;, <a class="el" href="class_json_1_1_value.html">Value</a> &amp;)</td></tr>
<tr class="memdesc:a4d245ef719cc0853e8e78eb5f99c16e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read from 'sin' into 'root'.  <a href="#a4d245ef719cc0853e8e78eb5f99c16e5">More...</a><br /></td></tr>
<tr class="separator:a4d245ef719cc0853e8e78eb5f99c16e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d3eba6789f9a9c1ab563ff8b4a5090f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d3eba6789f9a9c1ab563ff8b4a5090f"></a>
std::string JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (Int value)</td></tr>
<tr class="separator:a5d3eba6789f9a9c1ab563ff8b4a5090f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d43b0ff222bd3975bcf1babca0b978f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d43b0ff222bd3975bcf1babca0b978f"></a>
std::string JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (UInt value)</td></tr>
<tr class="separator:a4d43b0ff222bd3975bcf1babca0b978f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99995d7dafa4f4970b349d7d3c8d1d99"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99995d7dafa4f4970b349d7d3c8d1d99"></a>
std::string JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (double value)</td></tr>
<tr class="separator:a99995d7dafa4f4970b349d7d3c8d1d99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a979ed531f091985e22f0051cd2a8e341"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a979ed531f091985e22f0051cd2a8e341"></a>
std::string JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToString</b> (bool value)</td></tr>
<tr class="separator:a979ed531f091985e22f0051cd2a8e341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c8235a4a5c6599da5d3332743db8ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0c8235a4a5c6599da5d3332743db8ac"></a>
std::string JSON_API&#160;</td><td class="memItemRight" valign="bottom"><b>valueToQuotedString</b> (const char *value)</td></tr>
<tr class="separator:aa0c8235a4a5c6599da5d3332743db8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87bc83d7e90fc666d28aa16727deda2f"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a87bc83d7e90fc666d28aa16727deda2f">operator&lt;&lt;</a> (std::ostream &amp;, const <a class="el" href="class_json_1_1_value.html">Value</a> &amp;root)</td></tr>
<tr class="memdesc:a87bc83d7e90fc666d28aa16727deda2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output using the <a class="el" href="class_json_1_1_styled_stream_writer.html" title="Writes a Value in JSON format in a human friendly way, to a stream rather than to a string...">StyledStreamWriter</a>.  <a href="#a87bc83d7e90fc666d28aa16727deda2f">More...</a><br /></td></tr>
<tr class="separator:a87bc83d7e90fc666d28aa16727deda2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf0456e397a18cd7218a7b51dfc13c73"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf0456e397a18cd7218a7b51dfc13c73"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#adf0456e397a18cd7218a7b51dfc13c73">codePointToUTF8</a> (unsigned int cp)</td></tr>
<tr class="memdesc:adf0456e397a18cd7218a7b51dfc13c73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a unicode code-point to UTF-8. <br /></td></tr>
<tr class="separator:adf0456e397a18cd7218a7b51dfc13c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0381e631737f51331065a388f4f59197"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0381e631737f51331065a388f4f59197"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a0381e631737f51331065a388f4f59197">isControlCharacter</a> (char ch)</td></tr>
<tr class="memdesc:a0381e631737f51331065a388f4f59197"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if ch is a control character (in range [0,32[). <br /></td></tr>
<tr class="separator:a0381e631737f51331065a388f4f59197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1ffd21a9e55122014353c773ccc496e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#ac1ffd21a9e55122014353c773ccc496e">uintToString</a> (LargestUInt value, char *&amp;current)</td></tr>
<tr class="separator:ac1ffd21a9e55122014353c773ccc496e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7378f09d8f10ef3ccbb2aeefe7ff41d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7378f09d8f10ef3ccbb2aeefe7ff41d3"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>in</b> (Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)</td></tr>
<tr class="separator:a7378f09d8f10ef3ccbb2aeefe7ff41d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3dfd6ed13183fdcfaab3ca57b42d3e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3dfd6ed13183fdcfaab3ca57b42d3e7"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>in</b> (Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4, Reader::Char c5)</td></tr>
<tr class="separator:af3dfd6ed13183fdcfaab3ca57b42d3e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d6ab0f651348832e5cc49b577a854d2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d6ab0f651348832e5cc49b577a854d2"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>containsNewLine</b> (Reader::Location begin, Reader::Location end)</td></tr>
<tr class="separator:a4d6ab0f651348832e5cc49b577a854d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af83c489037763e8a72e3d5579f43a486"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af83c489037763e8a72e3d5579f43a486"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>isNull_</b> (true)</td></tr>
<tr class="separator:af83c489037763e8a72e3d5579f43a486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e2c18331f84669e6194dcfc124afcd2"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a9e2c18331f84669e6194dcfc124afcd2">duplicateStringValue</a> (const char *value, unsigned int length=<a class="el" href="namespace_json.html#a54414e1e582b6a3769a61e049103fd11">unknown</a>)</td></tr>
<tr class="separator:a9e2c18331f84669e6194dcfc124afcd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf8dd162c01e37846e129556c50e4037"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#acf8dd162c01e37846e129556c50e4037">releaseStringValue</a> (char *value)</td></tr>
<tr class="separator:acf8dd162c01e37846e129556c50e4037"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa11b210ff98a4f4dd4e2df19260f8c3a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa11b210ff98a4f4dd4e2df19260f8c3a"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>containsControlCharacter</b> (const char *str)</td></tr>
<tr class="separator:aa11b210ff98a4f4dd4e2df19260f8c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a9c62e568bf0d91210bb6cff0e41c2c79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c62e568bf0d91210bb6cff0e41c2c79"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__pad0__</b></td></tr>
<tr class="separator:a9c62e568bf0d91210bb6cff0e41c2c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54414e1e582b6a3769a61e049103fd11"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54414e1e582b6a3769a61e049103fd11"></a>
static const unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a54414e1e582b6a3769a61e049103fd11">unknown</a> = (unsigned)-1</td></tr>
<tr class="memdesc:a54414e1e582b6a3769a61e049103fd11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unknown size marker. <br /></td></tr>
<tr class="separator:a54414e1e582b6a3769a61e049103fd11"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>JSON (JavaScript Object Notation). </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a7844aaf4ed07c9fff86f78628f958fe0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a7844aaf4ed07c9fff86f78628f958fe0ae4f2008c7919f20d81286121d1374424"></a>uintToStringBufferSize&#160;</td><td class="fielddoc">
<p>Constant that specify the size of the buffer that must be passed to uintToString. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a4fc417c23905b2ae9e2c47d197a45351"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351">Json::CommentPlacement</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a4fc417c23905b2ae9e2c47d197a45351a52f1733775460517b2ea6bedf4906d52"></a>commentBefore&#160;</td><td class="fielddoc">
<p>a comment placed on the line before a value </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4fc417c23905b2ae9e2c47d197a45351a008a230a0586de54f30b76afe70fdcfa"></a>commentAfterOnSameLine&#160;</td><td class="fielddoc">
<p>a comment just after a value on the same line </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4fc417c23905b2ae9e2c47d197a45351ac5784ca53b12250888ddb642b06aebef"></a>commentAfter&#160;</td><td class="fielddoc">
<p>a comment on the line after a value (only make sense for root value) </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a7d654b75c16a57007925868e38212b4e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespace_json.html#a7d654b75c16a57007925868e38212b4e">Json::ValueType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of the value held by a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> object. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4ea7d9899633b4409bd3fc107e6737f8391"></a>nullValue&#160;</td><td class="fielddoc">
<p>'null' value </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4eae5a9d708d5c9e23ae9bf98898522512d"></a>intValue&#160;</td><td class="fielddoc">
<p>signed integer value </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4eaea788d9a3bb00adc6d68d97d43e1ccd3"></a>uintValue&#160;</td><td class="fielddoc">
<p>unsigned integer value </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4eab837c7b869c14d8be712deb45c9e490e"></a>realValue&#160;</td><td class="fielddoc">
<p>double value </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4ea804ef857affea2d415843c73f261c258"></a>stringValue&#160;</td><td class="fielddoc">
<p>UTF-8 string value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4ea14c30dbf4da86f7b809be299f671f7fd"></a>booleanValue&#160;</td><td class="fielddoc">
<p>bool value </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4eadc8f264f36b55b063c78126b335415f4"></a>arrayValue&#160;</td><td class="fielddoc">
<p>array value (ordered list) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6"></a>objectValue&#160;</td><td class="fielddoc">
<p>object value (collection of name/value pairs). </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a9e2c18331f84669e6194dcfc124afcd2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* Json::duplicateStringValue </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="namespace_json.html#a54414e1e582b6a3769a61e049103fd11">unknown</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Duplicates the specified string value. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>Pointer to the string to duplicate. Must be zero-terminated if length is "unknown". </td></tr>
    <tr><td class="paramname">length</td><td>Length of the value. if equals to unknown, then it will be computed using strlen(value). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer on the duplicate instance of string. </dd></dl>

</div>
</div>
<a class="anchor" id="a87bc83d7e90fc666d28aa16727deda2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream &amp; Json::operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>sout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_json_1_1_value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>root</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Output using the <a class="el" href="class_json_1_1_styled_stream_writer.html" title="Writes a Value in JSON format in a human friendly way, to a stream rather than to a string...">StyledStreamWriter</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_json.html#a4d245ef719cc0853e8e78eb5f99c16e5" title="Read from &#39;sin&#39; into &#39;root&#39;. ">Json::operator&gt;&gt;()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4d245ef719cc0853e8e78eb5f99c16e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::istream &amp; Json::operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>sin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_json_1_1_value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>root</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read from 'sin' into 'root'. </p>
<p>Always keep comments from the input JSON.</p>
<p>This can be used to read a file into a particular sub-object. For example: </p><div class="fragment"><div class="line"><a class="code" href="class_json_1_1_value.html">Json::Value</a> root;</div><div class="line">cin &gt;&gt; root[<span class="stringliteral">&quot;dir&quot;</span>][<span class="stringliteral">&quot;file&quot;</span>];</div><div class="line">cout &lt;&lt; root;</div></div><!-- fragment --><p> Result: </p><pre class="fragment">{
"dir": {
    "file": {
    // The input stream JSON would be nested here.
    }
}
}
</pre> <dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>on parse error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="namespace_json.html#a87bc83d7e90fc666d28aa16727deda2f" title="Output using the StyledStreamWriter. ">Json::operator&lt;&lt;()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="acf8dd162c01e37846e129556c50e4037"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Json::releaseStringValue </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Free the string duplicated by <a class="el" href="namespace_json.html#a9e2c18331f84669e6194dcfc124afcd2">duplicateStringValue()</a>. </p>

</div>
</div>
<a class="anchor" id="ac1ffd21a9e55122014353c773ccc496e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Json::uintToString </td>
          <td>(</td>
          <td class="paramtype">LargestUInt&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&amp;&#160;</td>
          <td class="paramname"><em>current</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts an unsigned integer to string. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>Unsigned interger to convert to string </td></tr>
    <tr><td class="paramname">current</td><td>Input/Output string buffer. Must have at least uintToStringBufferSize chars free. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_json.html">Json</a></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:52 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
